Skip to content

Conversation

@benwtrent
Copy link
Member

This is for testing purposes only. That is why its behind a feature flag, the format will likely evolve and change significantly before release, breaking compatibility. Consequently, we have it locked behind a feature flag for the time being.

@benwtrent benwtrent added >non-issue test-release Trigger CI checks against release build :Search Relevance/Vectors Vector search v9.1.0 labels May 29, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label May 29, 2025
Copy link
Contributor

@mayya-sharipova mayya-sharipova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ben, great work.

Do we plan to add ivf beyond bbq?

);

private static final int DEFAULT_VECTORS_PER_CLUSTER = 1000;
public static final int DYNAMIC_NPROBE = -1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a comment here explaining what is DYNAMIC_PROBE and why is set to -1 would help

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YEP!

+ CONTENT_TYPE
+ "] fields with index type ["
+ indexOptions.type
+ "] with cannot be indexed if they're within [nested] mappings"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: drop the the second "with"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

num_candidates: 3

- match: { hits.total: 3 }
- set: { hits.hits.0._score: raw_score0 }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How we are using raw_scores that we preserve here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awe, bad copy paste I think. I fill fix

@benwtrent
Copy link
Member Author

Do we plan to add ivf beyond bbq?

yeah, the current name is temporary, want to provide a better name before release.

@benwtrent benwtrent removed the test-release Trigger CI checks against release build label May 30, 2025
@benwtrent benwtrent merged commit b73a180 into elastic:main May 30, 2025
18 checks passed
@benwtrent benwtrent deleted the add-ivf-format branch May 30, 2025 20:20
mridula-s109 pushed a commit that referenced this pull request Jun 2, 2025
* Adding new bbq_ivf format behind a feature flag

* adding tests

* [CI] Auto commit changes from spotless

* addressing pr comments

* fixing flagging for yaml tests

* adjust ivf search to utilize num candidates as approximation measure

---------

Co-authored-by: elasticsearchmachine <[email protected]>
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jun 3, 2025
…c#128631)

* Adding new bbq_ivf format behind a feature flag

* adding tests

* [CI] Auto commit changes from spotless

* addressing pr comments

* fixing flagging for yaml tests

* adjust ivf search to utilize num candidates as approximation measure

---------

Co-authored-by: elasticsearchmachine <[email protected]>
joshua-adams-1 pushed a commit to joshua-adams-1/elasticsearch that referenced this pull request Jun 3, 2025
…c#128631)

* Adding new bbq_ivf format behind a feature flag

* adding tests

* [CI] Auto commit changes from spotless

* addressing pr comments

* fixing flagging for yaml tests

* adjust ivf search to utilize num candidates as approximation measure

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/elasticsearch that referenced this pull request Jun 5, 2025
…c#128631)

* Adding new bbq_ivf format behind a feature flag

* adding tests

* [CI] Auto commit changes from spotless

* addressing pr comments

* fixing flagging for yaml tests

* adjust ivf search to utilize num candidates as approximation measure

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants